package collector.support;

import java.util.HashMap;

import collector.data.Currency;

public class currencySupport {
	private static HashMap<String, Currency> currencies = new HashMap<String, Currency>();

	public static void init() {
		currencies.put("SEK", new Currency("SEK"));
		currencies.put("NOK", new Currency("NOK"));
		currencies.put("DKK", new Currency("DKK"));
		currencies.put("USD", new Currency("USD"));
		currencies.put("EUR", new Currency("EUR"));
	}
	
	public static Currency getCurrencySEK(String currency) {
		return currencies.get(currency);
	}
}
